var myChart = echarts.init(document.getElementById('zhichu'));
option = {
    backgroundColor: '#FFF',
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'shadow'
        }
    },
    legend: {
        data: ['line', 'bar'],
        textStyle: {
            color: '#6692e2'
        }
    },
    xAxis: {
        data: category1,
        axisLabel:{
            interval:0,//横轴信息全部显示
            rotate:-38,//-15度角倾斜显示
        },
        axisLine: {
            lineStyle: {
                color: '#6692e2'
            }
        }
    },
    yAxis: {
        splitLine: {show: false},
        axisLine: {
            lineStyle: {
                color: '#6692e2'
            }
        }
    },
    series: [{
        name: 'bar',
        type: 'bar',
        barWidth: 20,
        itemStyle: {
            normal: {
                barBorderRadius: 40,
                color: new echarts.graphic.LinearGradient(
                    0, 0, 0, 1,
                    [
                        {offset: 0, color: '#2378f7'},
                        {offset: 1, color: '#43eec6'}
                    ]
                )
            }
        },
        data: barData1
    }]
};
myChart.setOption(option);